aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(dash)/chat/[chatid]/loading.tsx
blob: 422adb8e728dd36def04f12de9746082138489f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from "react";
import { chatSearchParamsCache } from "../../../../lib/searchParams";
import ChatWindow from "../chatWindow";

async function Page({
	searchParams,
}: {
	searchParams: Record<string, string | string[] | undefined>;
}) {
	const q = (searchParams?.q as string) ?? "";
	return (
		<ChatWindow
			proMode={false}
			q={q}
			spaces={[]}
			initialChat={undefined}
			threadId={"idk"}
		/>
	);
}

export default Page;